import Vue from 'vue'
import Router from 'vue-router'
import Header from '@/components/Header'
import chan_cun_xiao from '@/components/chan_cun_xiao'
import zichan_fuzhai_suoyouquan from '@/components/zichan_fuzhai_suoyouquan'


Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'Header',
            component: Header,
            children: [{
                    path: '/chan_cun_xiao',
                    name: 'chan_cun_xiao',
                    component: chan_cun_xiao,
                },
                {
                    path: '/zichan_fuzhai_suoyouquan',
                    name: 'zichan_fuzhai_suoyouquan',
                    component: zichan_fuzhai_suoyouquan
                }
            ]

        }

    ]
})